<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        
        li {
            list-style: none;
        }
        
        .header {
            width: 100%;
            background-color: #323232;
            /* height: 48px; */
            color: #9b9b9b;
        }
        
        .logo,
        .nav {
            float: left;
        }
        
        .logo {
            margin-right: 28px;
        }
        
        .nav li {
            float: left;
            width: 88px;
            text-align: center;
            line-height: 48px;
        }
        
        .nav li:hover {
            background-color: #dd4012;
            cursor: pointer;
        }
        
        .call {
            float: right;
        }
        
        .call li {
            float: left;
            margin-left: 16px;
            cursor: pointer;
            line-height: 48px;
        }
        
        .header_a {
            width: 1103px;
            margin: 0 auto;
            height: 48px;
        }
        
        .footer {
            background-color: #323232;
            height: 83px;
        }
        
        .footer_a {
            width: 1103px;
            margin: 0 auto;
            position: relative;
        }
        
        .footer_logo {
            margin-top: 27px;
            float: left;
        }
        
        .footer_nav {
            float: right;
            color: #999999;
            font-size: 12px;
        }
        
        .footer_nav ul {
            height: 12px;
            margin-top: 28px;
            margin-bottom: 10px;
        }
        
        .footer_nav li {
            float: left;
            margin-left: 5px;
            cursor: pointer;
        }
        
        .root {
            font-size: 12px;
            color: #666666;
            position: absolute;
            right: 0;
            top: 50px;
        }
        
        .body {
            background-color: #f0f1f1;
            padding-top: 108px;
        }
        
        .content {
            width: 1103px;
            margin: 0 auto;
            background-color: white;
            padding: 62px 58px;
            box-sizing: border-box;
        }
        
        .content h3 {
            margin-bottom: 24px;
        }
        
        .content .p1 {
            height: 70px;
            background-color: #f0f1f1;
            color: #575757;
            font-size: 12px;
            padding: 0 22px;
            padding-top: 18px;
            margin-bottom: 24px;
        }
        
        .content h6 {
            margin: 21px 0;
            padding-top: 8px;
        }
        
        .content .p {
            font-size: 14px;
            color: #333333;
        }
        
        .div {
            margin-top: 50px;
            border-top: 1px solid #333333;
            padding-top: 28px;
        }
        
        .p2 {
            float: left;
        }
        
        .p3 {
            float: right;
        }
    </style>
</head>

<body>
    <div class="header">
        <div class="header_a">
            <div class="logo">
                <img src="img/logo.png" alt="">
            </div>
            <ul class="nav">
                <li>网站首页</li>
                <li>传悦资源</li>
                <li>传悦案例</li>
                <li>传悦服务</li>
                <li>解决方案</li>
                <li>需求提交</li>
            </ul>
            <ul class="call">
                <li><img src="img/dianhua.png" alt=""> 0535-60652189</li>
                <li> <img src="img/qq.png" alt=""></li>
                <li> <img src="img/weibo.png" alt=""></li>
                <li><img src="img/weixing.png" alt=""></li>
                <li><img src="img/Email.png" alt=""></li>
            </ul>
        </div>
    </div>

    <div class="body">
        <div class="content">
            <h3>AERMOST极尚 网站设计</h3>
            <p class="p1">
                北纬三十七度红酒网是由中国国际葡萄酒网，中国国际商会山东商会葡萄酒分会及烟台市葡萄与葡萄酒局三家单位唯一授权的电子商务平台，也是张裕长城酒有限公司官方授权的网络营销公司
            </p>
            <h3 class="h3"></h3>
        </div>
    </div>

    <div class="footer">
        <div class="footer_a">
            <p class="footer_logo">
                <img src="img/logo1.png" alt="">
            </p>
            <div class="footer_nav">
                <ul>
                    <li>关于传悦</li>
                    <li>新闻动态</li>
                    <li>传悦观点</li>
                    <li>联系传悦</li>
                    <li>加入传悦</li>
                    <li>付款账户</li>
                </ul>
            </div>
            <p class="root">
                sadfasdgasdg 阿萨德路口附近哪里sadfkas || 撒打奥斯卡积分sad 发的asdf
            </p>
        </div>
    </div>
    <script src="jquery.min.js"></script>
    <script>
        parseUrl = function() {
            let arr = location.href.slice(location.href.indexOf("?") + 1).split("&");
            let result = {}
            arr.forEach(item => {
                let key = item.split("=")[0];
                let value = item.split("=")[1];

                result[key] = value;
            })
            return result;
        }

        console.log(parseUrl().id)
        $.ajax({
            url: 'http://127.0.0.1:8080/con',
            data: {
                id: `${parseUrl().id}`
            },
            success(data) {
                $('.content').append(data.con)
                $('.h3').html(data.h3)
            }
        })
    </script>
</body>

</html>